package com.javafactroy.kunlong.dxp.manager;


import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication//(exclude={DataSourceAutoConfiguration.class})
@EnableSwagger2
@EnableEurekaClient
@EnableFeignClients
@EnableApolloConfig
public class Manager {
    public static void main(String[] args) {
        try {
            SpringApplication.run(Manager.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

/*
xxl.job.admin.addresses=http://${XXL_JOB_ADMIN_HOST:192.168.4.119}:${XXL_JOB_ADMIN_PORT:9680}/xxl-job-admin
### xxl-job, access token
xxl.job.accessToken=default_token

### xxl-job executor appname
xxl.job.executor.appname=xxl-job-manager
### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
xxl.job.executor.address=
### xxl-job executor server-info
xxl.job.executor.ip=
xxl.job.executor.port=9980
### xxl-job executor log-path
xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler
### xxl-job executor log-retention-days
xxl.job.executor.logretentiondays=30*/
